@import url(https://fonts.googleapis.com/css?family=Open+Sans:600,400,300,300italic);


.frame{
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 2px 10px rgba(0,0,0,0.3);
    border-radius: 2px;
    background: #4cb6de;
    color: #fff;
    font-family: 'Open Sans', Helvetica, sans-serif;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

.quote{
    position: relative;
    margin-top: 90px;
    padding: 0 30px;

    &::before{
        display: block;
        position: absolute;
        z-index: 0;
        content: '”';
        font-family:Arial, Helvetica, sans-serif;
        font-size: 250px;
        color: #6ac2e3;
        // line-height: 35px;
        top: -80px;
        left: 7px;
    }
}

p{
    position: relative;
    z-index: 1;
    font-size: 24px;
    line-height: 35px;
    margin: 20px 0;
}

.author{
    font-style: italic;
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
}

.tooltip{
    position: relative;
    display: inline-block;
    background-color: #286f8a;
    padding: 0px 8px 5px 8px;
    margin: -10px 0;
    cursor: pointer;

    &:hover .info,
    &:focus .info{
        visibility: visible;
        opacity: 1;
        transform: translate3d(0,0,0);
    }

    .info{
        box-sizing: border-box;
        position: absolute;
        bottom: 53px;
        left: -85px;
        display: block;
        background: #286f8a;
        width: 300px;
        font-size: 16px;
        line-height: 24px;
        cursor: text;
        visibility: hidden;
        opacity: 0;
        transform: translate3d(0, -20px, 0);
        transition: all .5s ease-out;
        &::before{
            position: absolute;
            content: '';
            width: 100%;
            height: 14px;
            bottom: -14px;
            left: 0;
        }

        &::after{
            position: absolute;
            content: '';
            width: 10px;
            height: 10px;
            transform: rotate(45deg);
            bottom: -5px;
            left: 50%;
            margin-left: -5px;
            background-color: #286f8a;
        }
        .pronounce{
            display: block;
            background:#fff;
            padding: 8px 17px 10px 17px;
            line-height: 16px;
            color: #286f8a;
    
            .fa{
                position: relative;
                margin-left: 10px;
                top: 1px;
                cursor: pointer;
                transition: all .2s ease-in-out;
                &:hover{
                    transform: scale(1.15) translate3d(0,0,0);
                    backface-visibility: none;
                }
            }
        }
    
        .text{
            display: block;
            padding: 13px 17px;
        }
    }
}